// Copyright 2021 Guoyoko. All Rights Reserved.

#include "SWPlacementModeModule.h"
#include "Modules/ModuleManager.h"
#include "Widgets/SNullWidget.h"


void FSWPlacementModeModule::StartupModule()
{
	SAssignNew(PlacePanelContainer, SSWPlacePanelContainer);

}

void FSWPlacementModeModule::ShutdownModule()
{
}

TSharedPtr<class SWidget> FSWPlacementModeModule::BuildPropertyPanel()
{
	if (PlacePanelContainer)
		return PlacePanelContainer;
	else
		return SNullWidget::NullWidget;
}

IMPLEMENT_MODULE(FSWPlacementModeModule, SWPlacementMode);

